package tankwar4;

/**
 * @Auther: Tx
 * @Date: 2022/7/14 17:08
 */
public class Boom {
    int x, y;
    int life = 9;
    boolean isLive = true;

    public Boom(int x, int y) {
        this.x = x;
        this.y = y;
    }

    void lifeDown() {
        if (life > 0) {
            life--;

        } else {
            isLive = false;
        }
    }

}
